package com.missilike.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2019-01-17
 */
public class MilContentCollection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户Id
     */
    private String accountId;

    /**
     * 被收藏文章id
     */
    private Long contentId;

    /**
     * 被收藏内容作者Id
     */
    private String collectionAccountId;

    private LocalDateTime createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public String getCollectionAccountId() {
        return collectionAccountId;
    }

    public void setCollectionAccountId(String collectionAccountId) {
        this.collectionAccountId = collectionAccountId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MilContentCollection{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", contentId=" + contentId +
        ", collectionAccountId=" + collectionAccountId +
        ", createTime=" + createTime +
        "}";
    }
}
